#!/usr/bin/env python
# encoding: utf-8

import os

Import('env')
Import('SDK_PATH')
Import('INCLUDES')

env.Repository(SDK_PATH)

sources = [
  'api/src/iot_adc.c',
  'api/src/iot_audio.c',
  'api/src/iot_camera.c',
  'api/src/iot_debug.c',
  'api/src/iot_flash.c',
  'api/src/iot_fs.c',
  'api/src/iot_gpio.c',
  'api/src/iot_i2c.c',
  'api/src/iot_keypad.c',
  'api/src/iot_lcd.c',
  'api/src/iot_os.c',
  'api/src/iot_pmd.c',
  'api/src/iot_socket.c',
  'api/src/iot_spi.c',
  'api/src/iot_sys.c',
  'api/src/iot_tts.c',
  'api/src/iot_uart.c',
  'api/src/iot_zbar.c',
  'api/src/iot_bluetooth.c',
  # 'api/src/iot_network.c',
  # 'api/src/iot_vat.c',
]

objects = env.StaticLibrary(target='sdk', source=sources)
Return('objects')
